package com.bw.service;

import com.bw.bean.Cloumn;
import com.bw.bean.User;
import com.bw.dao.CloumnDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class CloumnServicempl implements CloumnService{
    @Resource
    private CloumnDao cloumnDao;
    @Override
    public List<Cloumn> list(Cloumn cloumn) {
        return cloumnDao.list(cloumn);
    }

    @Override
    public List<User> login(User user) {
        return cloumnDao.login(user);
    }

    @Override
    public void insert(Cloumn cloumn) {
        cloumnDao.insert(cloumn);
    }
}
